package com.sc.admin.model.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.admin.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 *@Author shen chen
 *@Date 2024-11-28
 */

/**
 * 系统配置表
 */
@Schema(description = "系统配置表")
@Data
@TableName(value = "sys_config")
@Accessors(chain = true)
public class SysConfig extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "id")
    private Integer id;

    @TableField(value = "config_code")
    @Schema(description = "code")
    private String configCode;

    @TableField(value = "config_desc")
    @Schema(description = "描述")
    private String configDesc;

    @TableField(value = "config_switch")
    @Schema(description = "开关 1:开")
    private String configSwitch;

    @TableField(value = "config_remark")
    @Schema(description = "备注")
    private String configRemark;


    @Serial
    private static final long serialVersionUID = 1L;
}